From c4549d574a762d04f9cb0a130408d6591d291efb Mon Sep 17 00:00:00 2001 From: Ewan Mellor Date: Mon, 23 Oct 2006 10:17:10 +0100 Subject: [PATCH] Default to appending to "extra" in XenConfig. PowerPC needs console information from the command line. Resetting the whole command line causes false failures. Signed-off-by: Tony Breeds --- tools/xm-test/lib/XmTestLib/XenDomain.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/xm-test/lib/XmTestLib/XenDomain.py b/tools/xm-test/lib/XmTestLib/XenDomain.py index 0a47a98089..40aaebf9b4 100644 --- a/tools/xm-test/lib/XmTestLib/XenDomain.py +++ b/tools/xm-test/lib/XmTestLib/XenDomain.py @@ -102,6 +102,9 @@ class XenConfig: if name in self.opts.keys() and isinstance(self.opts[name] , list) and not isinstance(value, list): self.opts[name] = [value] + # "extra" is special so append to it. + elif name == "extra" and name in self.opts.keys(): + self.opts[name] += " %s" % (value) else: self.opts[name] = value -- 2.30.2